package com.bzkj.basicinfo.service.basic;

import com.bzkj.basicinfo.domain.basic.WmsRuleEntity;
import com.bzkj.basicinfo.domain.basic.dto.WmsRuleDto;
import com.bzkj.common.core.domain.AjaxResult;
import com.bzkj.common.core.domain.R;

import java.util.HashMap;
import java.util.List;

/**
 * @author wl
 * @description 针对表【basic_sto_stock_rule(仓库规则表)】的数据库操作Service
 * @createDate 2025-01-13 20:13:06
 */
public interface WmsRuleService
{

    R findRuleAll();

    AjaxResult associationRule( WmsRuleDto dto,  Integer type);

    R putRuleEnableStatus(Integer id);

    List<HashMap>  getRuleData(Integer type);

    AjaxResult saveRuleInfo(WmsRuleEntity wmsRuleEntity);

    R putRuleInfo(Integer id);

    R putRule(WmsRuleEntity wmsRuleEntity);
}
